package com.cyc.dao;

import com.cyc.entity.OrderDetail;
import java.util.List;
import java.util.Map;

public interface OrderDetailMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteByProductId(Integer id);

    int deleteByOrderId(Integer id);

    int insert(OrderDetail record);

    OrderDetail selectByPrimaryKey(Integer id);

    List<OrderDetail> selectAll(Map<String, Object> map);

    int updateByPrimaryKey(OrderDetail record);
}